home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wonky Flux Batch 2019 02
/
Wonky_Flux_Batch_2019-02.zip
/
Wonky Flux Batch 2019-02
/
117 - YY Proterm2.dsk
/
TO.ULTA.MACRO.1
/
ULTRAMACROS
/
PATCH.MANIA.bas
< prev
next >
Wrap
BASIC Source File
|
2000-01-01
|
2KB
|
37 lines
100 ONERR GOTO 320
110 D$ = CHR$(4): PRINT D$"pr#3": HOME : PRINT
120 ADR = 4096:A1 = ADR +1233:A2 = ADR +3564
130 SYS$ = "SYSTEM"
140 DIM N(9): FOR I = 0 TO 9: READ N(I): NEXT
150 DATA 224,0,240,3,76,242,29,76,84,29
160 HOME : PRINT
170 PRINT "Patch to allow Control-@ (ASCII 0) for"
175 PRINT "AppleWorks 2.0 printer/interface codes"
180 PRINT "--------------------------------------"
181 PRINT "Sample from the PatchMania disk"
182 PRINT "Copyright 1987 Randy Brandt": PRINT
184 PRINT "PatchMania is available for $20 from": PRINT
185 PRINT "JEM SOFTWARE"
190 PRINT "P.O. Box 20920"
191 PRINT "El Cajon, CA 92021": PRINT
193 PRINT "Insert your AppleWorks STARTUP disk.": PRINT
195 PRINT "Press Return to patch, or<CTRL-M>press Escape to quit: ";
200 GET A$: IF A$ = CHR$(27) THEN PRINT : PRINT D$"prefix /ultramacros": PRINT D$"-startup"
210 IF A$ < > CHR$(13) THEN 200
220 PRINT D$"bload aplworks."SYS$",a$1000,tsys"
230 FOR I = 0 TO 9: POKE A1 +I,N(I): NEXT
240 POKE A2,76: POKE A2 +1,209: POKE A2 +2,20
250 POKE ADR +1190,30: POKE ADR +1220,11
270 PRINT D$"bsave aplworks."SYS$",a$1000,tsys"
280 PRINT : PRINT : PRINT "The 'WARNING. Desktop is full. Action not completed.' message has been": PRINT
290 PRINT "changed to 'WARNING. Desktop is full.'": PRINT : PRINT "You may now enter control-@ for printer definitions.": PRINT
300 PRINT "Press any key to continue ";: GET X$: PRINT
310 PRINT D$"prefix /ultramacros": PRINT D$"-startup"
320 EL = PEEK(218) +256 * PEEK(219)
330 IF EL = 220 AND SY$ = "SYSTEM" THEN SYS$ = "SYS": GOTO 220
340 IF EL = 220 THEN SY$ = "SYSTEM": PRINT D$"prefix /appleworks": GOTO 220
350 IF EL = 340 THEN 999
440 POKE 216,0: RESUME
999 PRINT "Unable to find AppleWorks STARTUP disk;"
1000 PRINT "Enter the pathname where AppleWorks is located"
1010 INPUT "";P$: PRINT D$"prefix"P$: GOTO 220